package ${package}.dao.mapper.${moduleName};

import org.apache.ibatis.annotations.Mapper;
import ${package}.dao.common.MysqlBaseMaper;
import ${package}.dao.entity.${moduleName}.${ClassName};

import java.util.List;

/**
* ${tableComment}
*
* @author ${author} ${email}
* @since ${version} ${date}
*/
@Mapper
public interface ${ClassName}Mapper extends MysqlBaseMaper<${ClassName}> {
    /**
     * 查询${tableComment}
     *
     * @param id ${tableComment}
     * @return ${tableComment}
     */
    public ${ClassName} select${ClassName}ById(Long id);

    /**
     * 查询${tableComment}列表
     *
     * @param ${className} ${tableComment}
     * @return ${tableComment}集合
     */
    public List<${ClassName}> select${ClassName}List(${ClassName} ${className});

    /**
     * 批量删除${tableComment}
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int delete${ClassName}ByIds(String[] ids);
}
